.data

.text

.global _start
_start:

    jal x1, target1
    addi x2, x0, 0x1

target2:
    addi x3, x0, 0x3
    jal x1, end
    addi x4, x0, 0x6

target1:
    addi x2, x0, 0x2
    jal x1, target2
    addi x2, x0, 0x4

end:
    addi x4, x0, 0x5

loop:
    j loop

.section .bss